"use strict";

var __extends = this && this.__extends || (extendStatics = function(t, e) {
    return (extendStatics = Object.setPrototypeOf || {
        __proto__: []
    } instanceof Array && function(t, e) {
        t.__proto__ = e;
    } || function(t, e) {
        for (var o in e) e.hasOwnProperty(o) && (t[o] = e[o]);
    })(t, e);
}, function(t, e) {
    function o() {
        this.constructor = t;
    }
    extendStatics(t, e), t.prototype = null === e ? Object.create(e) : (o.prototype = e.prototype, 
    new o());
}), extendStatics, __decorate = this && this.__decorate || function(t, e, o, r) {
    var c, a = arguments.length, n = a < 3 ? e : null === r ? r = Object.getOwnPropertyDescriptor(e, o) : r;
    if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) n = Reflect.decorate(t, e, o, r); else for (var i = t.length - 1; 0 <= i; i--) (c = t[i]) && (n = (a < 3 ? c(n) : 3 < a ? c(e, o, n) : c(e, o)) || n);
    return 3 < a && n && Object.defineProperty(e, o, n), n;
};

Object.defineProperty(exports, "__esModule", {
    value: !0
});

var _a = cc._decorator, ccclass = _a.ccclass, property = _a.property, MyDataModify = function(_super) {
    function MyDataModify() {
        var t = null !== _super && _super.apply(this, arguments) || this;
        return t.modifys = [], t;
    }
    return __extends(MyDataModify, _super), MyDataModify.prototype.start = function() {}, 
    MyDataModify.prototype.doModify = function() {
        this.modifys.forEach(function(v) {
            return eval(v);
        });
    }, __decorate([ property([ cc.String ]) ], MyDataModify.prototype, "modifys", void 0), 
    MyDataModify = __decorate([ ccclass ], MyDataModify), MyDataModify;
}(cc.Component);

exports.default = MyDataModify;